package com.campus.service;

import com.campus.entry.SysUser;
import com.campus.pojo.dto.SysUserDto;
import io.swagger.v3.oas.models.security.SecurityScheme;

import java.util.List;

public interface SysUserService {
    void saveSysUser(SysUser sysUser);
    SysUser getSysUserById(Integer sysUserId);
    SysUser getSysUserByName(String loginName);
    void updateSysUser(SysUser sysUser);
    void saveRole(Integer userId,String role);
    Integer getUserIdByUserName(String loginName);
    String gertRoleById(Integer id);
    List<SysUserDto> listSysUser();
    void removeSysUserById(Integer id);

    void updateState(String state,Integer id);
}
